package model

import (
	"github.com/shopspring/decimal"
)

func (ShopStatisticsYesterday) TableName() string {
	return "shop_statistics_yesterday"
}

type ShopStatisticsYesterday struct {
	ShopId                    uint            `json:"shop_id"`
	Online                    uint            `json:"online"`
	YesterdayViewCount        uint            `json:"yesterday_view_count"`
	NegativeOdr               decimal.Decimal `json:"negative_odr"`
	NegativeCommentCount      uint            `json:"negative_comment_count"`
	CommentCount              uint            `json:"comment_count"`
	NegativeCommentTotal      uint            `json:"negative_comment_total"`
	CommentTotal              uint            `json:"comment_total"`
	LackOdr                   decimal.Decimal `json:"lack_odr"`
	TransFlag                 int             `json:"trans_flag"`
	TransAt                   string          `json:"trans_at"`
	TransTimes                uint            `json:"trans_times"`
	CancelCount               uint            `json:"cancel_count"`
	PreAfterSaleCount         uint            `json:"pre_after_sale_count"`
	CAfterSaleCount           uint            `json:"c_after_sale_count"`
	AfterSaleCost             decimal.Decimal `json:"after_sale_cost"`
	CtmItemViewPvSevenDays    uint            `json:"ctm_item_view_pv_seven_days"`
	CartItemNumSevenDays      uint            `json:"cart_item_num_seven_days"`
	ItemVerifiedUvSevenDays   uint            `json:"item_verified_uv_seven_days"`
	ItemVerifiedCntSevenDays  uint            `json:"item_verified_cnt_seven_days"`
	ItemVerifiedCntThirtyDays uint            `json:"item_verified_cnt_thirty_days"`
	CtmItemViewPvThirtyDays   uint            `json:"ctm_item_view_pv_thirty_days"`
	CartItemNumThirtyDays     uint            `json:"cart_item_num_thirty_days"`
	ItemVerifiedUvThirtyDays  uint            `json:"item_verified_uv_thirty_days"`
	ItemViewThirtyDays        uint            `json:"item_view_thirty_days"`
	LimitFlag                 uint            `json:"limit_flag"`
	MerchantNotItemCode       uint            `json:"merchant_not_item_code"`
	MerchantNew               uint            `json:"merchant_new"`
}
